<%-- 
    Document   : esacombank
    Created on : Oct 15, 2011, 9:48:23 PM
    Author     : user
--%>
<%@page import="Model.ShopSupport"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%String site=request.getParameter("site");
System.out.println("Site"+site);
String toAccount = request.getParameter("toAccount");
System.out.println("Account"+toAccount);
String amount = request.getParameter("amountPay");
System.out.println("Thanh toan "+amount);
if(site!=""&&toAccount!=""&&amount!=""&&site!=null&&toAccount!=null&amount!=null){;
int money = Integer.parseInt(amount);
ShopSupport shop = new ShopSupport(site, toAccount, money);
session.setAttribute("shop", shop);
}
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="./esacombankimage/Style.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="https://www.e-sacombank.com.vn/sacomweb/sacomicon.ico">
<style type="text/css">
<!--
.style1 {
	color: #FFFF00;
	font-weight: bold;
	font-size: 16px;
}
.style2 {
	color: #FFFFCC;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.style3 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.style4 {
	font-family: Arial, Helvetica, sans-serif;
	color: #FFFFCC;
}
-->
</style>
</head>
<body topmargin="0" leftmargin="0" onLoad="placeFocus();">
<br>
<br>
<table align="center" border="0" width="762" cellspacing="0" cellpadding="0" bgcolor="#0B74D1">
  <tbody>
    <tr>
      <td height="130"><img border="0" src="./esacombankimage/eBanking_Home_01.gif" width="234" height="130"></td>
      <td height="130"><img border="0" src="./esacombankimage/eBanking_Home_02.gif" width="261" height="130"></td>
      <td height="130" width="267" background="./esacombankimage/eBanking_Home_03.gif" align="right"><table height="130">
          <tbody>
            <tr height="50" align="right">
              <td>&nbsp;
               
			
    	 	-->
              </td>
            </tr>
            <tr>
              <td><p style="margin-right: 20px">
                 
                  <a href="https://seal.verisign.com/splash?form_file=fdf/splash.fdf&dn=WWW.E-SACOMBANK.COM.VN&lang=en" target="_blank"><img border="0" src="./esacombankimage/signseal.gif" width="98" height="54"></a> </p></td>
            </tr>
          </tbody>
        </table></td>
    </tr>
    <tr>
      <td height="180"><img border="0" src="./esacombankimage/eBanking_Home_04.gif" width="234" height="180"></td>
      <td height="180"><img border="0" src="./esacombankimage/eBanking_Home_05.gif" width="261" height="180"></td>
      <td height="180" width="267" background="./esacombankimage/eBanking_Home_06.gif" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tbody>
            <tr>
              <td height="38" valign="bottom"><div id="ErrorMsg" name="ErrorMsg" class="error" style="color:#FFFF00"></div>
                <font color="#FFFFFF">Nhập số xác nhận truy cập dịch vụ.</font> </td>
            </tr>
            <tr>
              <td height="77"><table border="0" width="200" cellspacing="0" cellpadding="0">
                  <tbody>
                    <tr>
                      <td width="18">&nbsp;</td>
                      <td align="center"><img id="captcha" src="<c:url value='simpleCaptcha.jpg'  />" width="200" height="50"></td>
                    </tr>
                  </tbody>
                </table></td>
            </tr>
            <tr>
              <form name="myform" method="POST" action="CapchaSubmit">
              <td>&nbsp;
                  <%String error = (String)request.getAttribute("incorrectcapcha");
                  if(error!=null)
                      out.print("<span class='style2'>Mã xác nhận sai vui lòng thử lại</span>");
                  %>
                  
                <input type="text" name="answer" size="13" class="text" style="height: 22px; font-size: 14px; font-weight: bold; text-align:center">
                <input type="submit" value="Xác nhận" name="submit" class="button2" style="width: 80px">
                            </form>

              </td>
            </tr>
          </tbody>
        </table></td>
    </tr>
    <tr>
        <td height="69" colspan="3" valign="bottom" background="./esacombankimage/eBanking_Home_07.gif" style="font-size: 10px; color: #888888"><p style="margin-left: 10px"> NGÂN HÀNG ĐIỆN TỬ SACOMBANK<br>
          HỘI SỞ 266-268 Nam Kỳ Khởi Nghĩa, P.8, Q.3, Tp.HCM&nbsp; -&nbsp; ĐT:  (08) 39.321.606&nbsp; -&nbsp; Fax: (08) 39.320.419<br>
          <a href="#" style="font-size: 10px; color: #0A62B1">Bản quyền © 2007</a>&nbsp;<a href="#" title="#" style="font-size: 10px; color: #0A62B1">SACOMBANK</a> </p></td>
    </tr>
    <tr>
      <td height="5" colspan="3"><img border="0" src="./esacombankimage/eBanking_Home_08.gif" width="762" height="5"></td>
    </tr>
  </tbody>
</table>


</body>
</html>